package com.qidian.md.mapper;

import com.qidian.mes.pojo.md.Unitmeasure;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UnitmeasureMapper {


    List<Unitmeasure> selectByPage(@Param("unitmeasure")Unitmeasure unitmeasure, @Param("start") Integer start, @Param("limit") Integer limit);

    Integer selectCount(Unitmeasure unitmeasure);


    int addUnitmeasure( Unitmeasure unitmeasure);



    /**
     * 根据输入的id查询客户
     * @param measureId
     * @return
     */
    Unitmeasure selectById(Long measureId);
    /**
     * 修改数据更新
     * @param unitmeasure
     * @return
     */
    Integer update(Unitmeasure unitmeasure);

    Integer deleteUpdateStatus(Long measureId);

}
